package com.j.lemon.learn.basic.practice;

import java.io.IOException;

/**
 * @Author lijunjun
 * @Date 2019-01-24 09:58
 * @Description
 */
public class ExceptionLearn {
    public void a() throws NullPointerException{

    }

    public void b() throws IOException, MyException {
        try{
            b();
        }catch (MyException e){
            throw e;
        }
    }

    public void c(){
        a();
    }

    public static void main(String[] args) throws IOException {
        throw new IOException();
    }
}
